﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="ThemMoiSanPham.aspx.cs" Inherits="Admin_ThemSanPham" Title="Untitled Page" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
<h5>Menu</h5>
     <ul class="Actions">
       <li><a href="DanhSachSanPham.aspx">Danh sách Sản Phẩm</a></li>
       <li class ="Selected"><a href="ThemMoiSanPham.aspx">Thêm mới Sản Phẩm</a></li>
    </ul>
    <ul class="Actions">
        <li><a href="DanhSachLoai.aspx">Danh sách Loại SP</a></li>
        <li><a href="ThemMoiLoaiSanPham.aspx">Thêm mới Loại SP</a></li>
    </ul> 
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">

<div style="padding:12px 12px 12px 12px;">
<div>
        <div class="title">
         Thêm sản phẩm
        </div>                  
        <div>
          <table width="100%" cellspacing="1" cellpadding="3" border="0" bgcolor="#cccccc"> 
                
                
                 <tr>
                    <td style="width:31%">Tên sản phẩm</td>
                    <td style="width:70%"><asp:TextBox ID="txt_TenSP" runat="server"></asp:TextBox>&nbsp;</td>
                </tr> 
                <tr>
                    <td style="width:31%">Loại sản phẩm</td>
                    <td style="width:70%">
                        <asp:DropDownList CssClass="DropDownList" ID="ddl_LoaiSP" runat="server" Width="155px">
                        </asp:DropDownList></td>
                </tr>   
                   <tr>
                    <td style="width:31%">
                        Giá gốc</td>
                    <td style="width:70%">
                        <asp:TextBox ID="txt_giagoc" runat="server"></asp:TextBox></td>
                </tr>   
                   <tr>
                    <td style="width:31%">
                        Giá bán</td>
                    <td style="width:70%">
                        <asp:TextBox ID="txt_giaban" runat="server"></asp:TextBox>
                    </td>
                </tr>   
                   <tr>
                    <td style="width:31%">Số lượng</td>
                    <td style="width:70%">
                        <asp:TextBox ID="txt_SoLuong" runat="server"></asp:TextBox>
                    </td>
                </tr> 
            
                <tr>
                    <td style="width:31%">Mô tả</td>
                    <td style="width:70%">
                        <FTB:FreeTextBox ID="ftb_MoTa" runat="server" Height="250px" Width="600px">
                        </FTB:FreeTextBox>
                    </td>
                </tr>   
              <tr>
                  <td style="width: 31%">
                      Hình Ảnh</td>
                  <td style="width: 70%">
                  <asp:FileUpload ID="fu_up_hinh" runat="server" class="multi"/></td>
                      
              </tr>
                <tr>
                    <td style="width:31%"></td>
                    <td style="width:70%"><asp:Button ID="btn_Add" runat="server" Text="Thêm sản phẩm" OnClick="btn_Add_Click"/>&nbsp;</td>
                </tr>            
            </table>
        </div>
 </div>
 </div>
</asp:Content>

